package com.gem.service;

import com.gem.domain.CampusConn;
import com.gem.domain.CampusVisit;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @Author: 玲
 * @Description:
 * @create 2019-10-16 14:54
 * @Modified By:
 */
public interface CampusConnService {

    Integer save(CampusConn campusConn);

    PageInfo<CampusConn> findAll(Integer campusId, int currentPage, int pageSize);

    CampusConn findById(Integer campusConnId);

    Integer  deleteById(Integer campusConnId);

    Integer update(CampusConn campusConn);

    String findCampusName(Integer campusId);

    Integer deleteAll(int[] campusConnIds);

    List<CampusConn> findAllCampusConn(Integer campusId);

    List<CampusConn> findAllConn();
}
